How to turn on and off (as of 1.9.C release) groovy feature for debugging.
Custom Validations Using Groovy
Direct Code Injection
Pre-Deployed Groovy Plugins
Groovy Background Jobs